import Mock from 'mockjs'
import { login, registry, getArticles } from './apis'

Mock.mock('/sys/login', 'post', login)
Mock.mock('/user/registe', 'post', registry)
Mock.mock(RegExp('/main/article/show'+'.*'), 'get', getArticles)